home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AppleScript / Documentation / Inside Mac / IM—Interapplication Comm / IM—Interapplication Comm.rsrc / GRF#_1000 < prev    next >
Unknown  |  1993-11-08  |  7.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 72 42 46 69 67 75 72 | 65 20 31 2d 31 09 50 72 |.rBFigur|e 1-1.Pr|
|00000010| 69 6e 63 69 70 61 6c 20 | 6d 65 74 68 6f 64 73 20 |incipal |methods |
|00000020| 6f 66 20 63 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |of commu|nication|
|00000030| 20 62 65 74 77 65 65 6e | 20 61 70 70 6c 69 63 61 | between| applica|
|00000040| 74 69 6f 6e 73 3b 46 69 | 67 75 72 65 20 31 2d 32 |tions;Fi|gure 1-2|
|00000050| 09 53 68 61 72 69 6e 67 | 20 64 61 74 61 20 77 69 |.Sharing| data wi|
|00000060| 74 68 20 74 68 65 20 61 | 69 64 20 6f 66 20 74 68 |th the a|id of th|
|00000070| 65 20 45 64 69 74 69 6f | 6e 20 4d 61 6e 61 67 65 |e Editio|n Manage|
|00000080| 72 34 46 69 67 75 72 65 | 20 31 2d 33 09 41 20 70 |r4Figure| 1-3.A p|
|00000090| 75 62 6c 69 73 68 65 72 | 2c 20 61 6e 20 65 64 69 |ublisher|, an edi|
|000000a0| 74 69 6f 6e 2c 20 61 6e | 64 20 61 20 73 75 62 73 |tion, an|d a subs|
|000000b0| 63 72 69 62 65 72 37 46 | 69 67 75 72 65 20 31 2d |criber7F|igure 1-|
|000000c0| 34 09 53 68 61 72 69 6e | 67 20 64 79 6e 61 6d 69 |4.Sharin|g dynami|
|000000d0| 63 20 64 61 74 61 20 77 | 69 74 68 20 6f 74 68 65 |c data w|ith othe|
|000000e0| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 59 46 |r applic|ationsYF|
|000000f0| 69 67 75 72 65 20 31 2d | 35 09 53 65 6e 64 69 6e |igure 1-|5.Sendin|
|00000100| 67 20 61 6e 64 20 72 65 | 73 70 6f 6e 64 69 6e 67 |g and re|sponding|
|00000110| 20 74 6f 20 41 70 70 6c | 65 20 65 76 65 6e 74 73 | to Appl|e events|
|00000120| 20 77 69 74 68 20 74 68 | 65 20 61 69 64 20 6f 66 | with th|e aid of|
|00000130| 20 74 68 65 20 41 70 70 | 6c 65 20 45 76 65 6e 74 | the App|le Event|
|00000140| 20 4d 61 6e 61 67 65 72 | 1b 46 69 67 75 72 65 20 | Manager|.Figure |
|00000150| 31 2d 36 09 41 20 53 65 | 74 20 44 61 74 61 20 65 |1-6.A Se|t Data e|
|00000160| 76 65 6e 74 36 46 69 67 | 75 72 65 20 31 2d 37 09 |vent6Fig|ure 1-7.|
|00000170| 48 6f 77 20 61 20 73 63 | 72 69 70 74 69 6e 67 20 |How a sc|ripting |
|00000180| 63 6f 6d 70 6f 6e 65 6e | 74 20 65 78 65 63 75 74 |componen|t execut|
|00000190| 65 73 20 61 20 73 63 72 | 69 70 74 38 46 69 67 75 |es a scr|ipt8Figu|
|000001a0| 72 65 20 31 2d 38 09 41 | 20 53 65 74 20 44 61 74 |re 1-8.A| Set Dat|
|000001b0| 61 20 65 76 65 6e 74 20 | 73 65 6e 74 20 64 75 72 |a event |sent dur|
|000001c0| 69 6e 67 20 73 63 72 69 | 70 74 20 65 78 65 63 75 |ing scri|pt execu|
|000001d0| 74 69 6f 6e 3b 46 69 67 | 75 72 65 20 31 2d 39 09 |tion;Fig|ure 1-9.|
|000001e0| 52 65 63 6f 72 64 69 6e | 67 20 75 73 65 72 20 61 |Recordin|g user a|
|000001f0| 63 74 69 6f 6e 73 20 69 | 6e 20 61 20 66 61 63 74 |ctions i|n a fact|
|00000200| 6f 72 65 64 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ored app|lication|
|00000210| 4b 46 69 67 75 72 65 20 | 31 2d 31 30 09 43 6f 6e |KFigure |1-10.Con|
|00000220| 74 72 6f 6c 6c 69 6e 67 | 20 61 6e 20 61 70 70 6c |trolling| an appl|
|00000230| 69 63 61 74 69 6f 6e d5 | 73 20 6f 77 6e 20 62 65 |ication.|s own be|
|00000240| 68 61 76 69 6f 72 20 62 | 79 20 65 78 65 63 75 74 |havior b|y execut|
|00000250| 69 6e 67 20 61 20 73 63 | 72 69 70 74 4c 46 69 67 |ing a sc|riptLFig|
|00000260| 75 72 65 20 31 2d 31 31 | 09 50 6f 73 74 69 6e 67 |ure 1-11|.Posting|
|00000270| 20 61 6e 20 69 6e 76 6f | 69 63 65 20 61 6e 64 20 | an invo|ice and |
|00000280| 75 70 64 61 74 69 6e 67 | 20 61 20 64 61 74 61 62 |updating| a datab|
|00000290| 61 73 65 20 62 79 20 65 | 78 65 63 75 74 69 6e 67 |ase by e|xecuting|
|000002a0| 20 61 20 73 63 72 69 70 | 74 23 46 69 67 75 72 65 | a scrip|t#Figure|
|000002b0| 20 32 2d 31 09 54 68 65 | 20 64 65 66 61 75 6c 74 | 2-1.The| default|
|000002c0| 20 65 64 69 74 69 6f 6e | 20 69 63 6f 6e 34 46 69 | edition| icon4Fi|
|000002d0| 67 75 72 65 20 32 2d 32 | 09 41 20 70 75 62 6c 69 |gure 2-2|.A publi|
|000002e0| 73 68 65 72 2c 20 61 6e | 20 65 64 69 74 69 6f 6e |sher, an| edition|
|000002f0| 2c 20 61 6e 64 20 61 20 | 73 75 62 73 63 72 69 62 |, and a |subscrib|
|00000300| 65 72 23 46 69 67 75 72 | 65 20 32 2d 33 09 54 68 |er#Figur|e 2-3.Th|
|00000310| 65 20 70 75 62 6c 69 73 | 68 65 72 20 64 69 61 6c |e publis|her dial|
|00000320| 6f 67 20 62 6f 78 24 46 | 69 67 75 72 65 20 32 2d |og box$F|igure 2-|
|00000330| 34 09 54 68 65 20 73 75 | 62 73 63 72 69 62 65 72 |4.The su|bscriber|
|00000340| 20 64 69 61 6c 6f 67 20 | 62 6f 78 34 46 69 67 75 | dialog |box4Figu|
|00000350| 72 65 20 32 2d 35 09 41 | 20 64 6f 63 75 6d 65 6e |re 2-5.A| documen|
|00000360| 74 20 61 6e 64 20 69 74 | 73 20 63 6f 72 72 65 73 |t and it|s corres|
|00000370| 70 6f 6e 64 69 6e 67 20 | 65 64 69 74 69 6f 6e 73 |ponding |editions|
|00000380| 2b 46 69 67 75 72 65 20 | 32 2d 36 09 50 75 62 6c |+Figure |2-6.Publ|
|00000390| 69 73 68 65 72 20 61 6e | 64 20 73 75 62 73 63 72 |isher an|d subscr|
|000003a0| 69 62 65 72 20 62 6f 72 | 64 65 72 73 34 46 69 67 |iber bor|ders4Fig|
|000003b0| 75 72 65 20 32 2d 37 09 | 45 64 69 74 69 6f 6e 20 |ure 2-7.|Edition |
|000003c0| 4d 61 6e 61 67 65 72 20 | 63 6f 6d 6d 61 6e 64 73 |Manager |commands|
|000003d0| 20 69 6e 20 74 68 65 20 | 45 64 69 74 20 6d 65 6e | in the |Edit men|
|000003e0| 75 45 46 69 67 75 72 65 | 20 32 2d 38 09 45 64 69 |uEFigure| 2-8.Edi|
|000003f0| 74 69 6f 6e 20 4d 61 6e | 61 67 65 72 20 63 6f 6d |tion Man|ager com|
|00000400| 6d 61 6e 64 73 20 75 6e | 64 65 72 20 74 68 65 20 |mands un|der the |
|00000410| 50 75 62 6c 69 73 68 69 | 6e 67 20 6d 65 6e 75 20 |Publishi|ng menu |
|00000420| 63 6f 6d 6d 61 6e 64 4b | 46 69 67 75 72 65 20 32 |commandK|Figure 2|
|00000430| 2d 39 09 41 20 64 6f 63 | 75 6d 65 6e 74 20 77 69 |-9.A doc|ument wi|
|00000440| 74 68 20 61 20 70 75 62 | 6c 69 73 68 65 72 20 61 |th a pub|lisher a|
|00000450| 6e 64 20 73 75 62 73 63 | 72 69 62 65 72 20 61 6e |nd subsc|riber an|
|00000460| 64 20 69 74 73 20 72 65 | 73 6f 75 72 63 65 20 66 |d its re|source f|
|00000470| 6f 72 6b 27 46 69 67 75 | 72 65 20 32 2d 31 30 09 |ork'Figu|re 2-10.|
|00000480| 54 68 65 20 6e 65 77 20 | 70 75 62 6c 69 73 68 65 |The new |publishe|
|00000490| 72 20 61 6c 65 72 74 20 | 62 6f 78 29 46 69 67 75 |r alert |box)Figu|
|000004a0| 72 65 20 32 2d 31 31 09 | 41 20 73 61 6d 70 6c 65 |re 2-11.|A sample|
|000004b0| 20 70 75 62 6c 69 73 68 | 65 72 20 64 69 61 6c 6f | publish|er dialo|
|000004c0| 67 20 62 6f 78 2a 46 69 | 67 75 72 65 20 32 2d 31 |g box*Fi|gure 2-1|
|000004d0| 32 09 41 20 73 61 6d 70 | 6c 65 20 73 75 62 73 63 |2.A samp|le subsc|
|000004e0| 72 69 62 65 72 20 64 69 | 61 6c 6f 67 20 62 6f 78 |riber di|alog box|
|000004f0| 4c 46 69 67 75 72 65 20 | 32 2d 31 33 09 54 68 65 |LFigure |2-13.The|
|00000500| 20 70 75 62 6c 69 73 68 | 65 72 20 6f 70 74 69 6f | publish|er optio|
|00000510| 6e 73 20 64 69 61 6c 6f | 67 20 62 6f 78 20 77 69 |ns dialo|g box wi|
|00000520| 74 68 20 75 70 64 61 74 | 65 20 6d 6f 64 65 20 73 |th updat|e mode s|
|00000530| 65 74 20 74 6f 20 4f 6e | 20 53 61 76 65 4e 46 69 |et to On| SaveNFi|
|00000540| 67 75 72 65 20 32 2d 31 | 34 09 54 68 65 20 70 75 |gure 2-1|4.The pu|
|00000550| 62 6c 69 73 68 65 72 20 | 6f 70 74 69 6f 6e 73 20 |blisher |options |
|00000560| 64 69 61 6c 6f 67 20 62 | 6f 78 20 77 69 74 68 20 |dialog b|ox with |
|00000570| 75 70 64 61 74 65 20 6d | 6f 64 65 20 73 65 74 20 |update m|ode set |
|00000580| 74 6f 20 4d 61 6e 75 61 | 6c 6c 79 20 54 46 69 67 |to Manua|lly TFig|
|00000590| 75 72 65 20 32 2d 31 35 | 09 54 68 65 20 73 75 62 |ure 2-15|.The sub|
|000005a0| 73 63 72 69 62 65 72 20 | 6f 70 74 69 6f 6e 73 20 |scriber |options |
|000005b0| 64 69 61 6c 6f 67 20 62 | 6f 78 20 77 69 74 68 20 |dialog b|ox with |
|000005c0| 75 70 64 61 74 65 20 6d | 6f 64 65 20 73 65 74 20 |update m|ode set |
|000005d0| 74 6f 20 41 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |to Autom|atically|
|000005e0| 20 4e 46 69 67 75 72 65 | 20 32 2d 31 36 09 54 68 | NFigure| 2-16.Th|
|000005f0| 65 20 73 75 62 73 63 72 | 69 62 65 72 20 6f 70 74 |e subscr|iber opt|
|00000600| 69 6f 6e 73 20 64 69 61 | 6c 6f 67 20 62 6f 78 20 |ions dia|log box |
|00000610| 77 69 74 68 20 75 70 64 | 61 74 65 20 6d 6f 64 65 |with upd|ate mode|
|00000620| 20 73 65 74 20 74 6f 20 | 4d 61 6e 75 61 6c 6c 79 | set to |Manually|
|00000630| 39 46 69 67 75 72 65 20 | 32 2d 31 37 09 45 64 69 |9Figure |2-17.Edi|
|00000640| 74 20 6d 65 6e 75 20 77 | 69 74 68 20 53 68 6f 77 |t menu w|ith Show|
|00000650| 2f 48 69 64 65 20 42 6f | 72 64 65 72 73 20 6d 65 |/Hide Bo|rders me|
|00000660| 6e 75 20 63 6f 6d 6d 61 | 6e 64 1d 46 69 67 75 72 |nu comma|nd.Figur|
|00000670| 65 20 32 2d 31 38 09 50 | 75 62 6c 69 73 68 65 72 |e 2-18.P|ublisher|
|00000680| 20 62 6f 72 64 65 72 73 | 1e 46 69 67 75 72 65 20 | borders|.Figure |
|00000690| 32 2d 31 39 09 53 75 62 | 73 63 72 69 62 65 72 20 |2-19.Sub|scriber |
|000006a0| 62 6f 72 64 65 72 73 2d | 46 69 67 75 72 65 20 32 |borders-|Figure 2|
|000006b0| 2d 32 30 09 41 20 70 75 | 62 6c 69 73 68 65 72 20 |-20.A pu|blisher |
|000006c0| 77 69 74 68 20 63 6f 6e | 74 65 6e 74 73 20 72 65 |with con|tents re|
|000006d0| 6d 6f 76 65 64 3c 46 69 | 67 75 72 65 20 32 2d 32 |moved<Fi|gure 2-2|
|000006e0| 31 09 41 20 70 75 62 6c | 69 73 68 65 72 20 62 6f |1.A publ|isher bo|
|000006f0| 72 64 65 72 20 77 69 74 | 68 69 6e 20 61 20 73 70 |rder wit|hin a sp|
|00000700| 72 65 61 64 73 68 65 65 | 74 20 64 6f 63 75 6d 65 |readshee|t docume|
|00000710| 6e 74 32 46 69 67 75 72 | 65 20 32 2d 32 32 09 41 |nt2Figur|e 2-22.A|
|00000720| 20 70 75 62 6c 69 73 68 | 65 72 20 62 6f 72 64 65 | publish|er borde|
|00000730| 72 20 77 69 74 68 20 72 | 65 73 69 7a 65 20 68 61 |r with r|esize ha|
|00000740| 6e 64 6c 65 73 3c 46 69 | 67 75 72 65 20 32 2d 32 |ndles<Fi|gure 2-2|
|00000750| 33 09 41 20 70 75 62 6c | 69 73 68 65 72 20 61 6e |3.A publ|isher an|
|00000760| 64 20 73 75 62 73 63 72 | 69 62 65 72 20 77 69 74 |d subscr|iber wit|
|00000770| 68 20 63 6c 69 70 70 65 | 64 20 67 72 61 70 68 69 |h clippe|d graphi|
|00000780| 63 73 32 46 69 67 75 72 | 65 20 32 2d 32 34 09 43 |cs2Figur|e 2-24.C|
|00000790| 72 65 61 74 69 6e 67 20 | 6d 75 6c 74 69 70 6c 65 |reating |multiple|
|000007a0| 20 70 75 62 6c 69 73 68 | 65 72 73 20 61 6c 65 72 | publish|ers aler|
|000007b0| 74 20 62 6f 78 30 46 69 | 67 75 72 65 20 32 2d 32 |t box0Fi|gure 2-2|
|000007c0| 35 09 53 61 76 69 6e 67 | 20 6d 75 6c 74 69 70 6c |5.Saving| multipl|
|000007d0| 65 20 70 75 62 6c 69 73 | 68 65 72 73 20 61 6c 65 |e publis|hers ale|
|000007e0| 72 74 20 62 6f 78 31 46 | 69 67 75 72 65 20 32 2d |rt box1F|igure 2-|
|000007f0| 32 36 09 53 75 62 73 63 | 72 69 62 69 6e 67 20 64 |26.Subsc|ribing d|
|00000800| 69 72 65 63 74 6c 79 20 | 74 6f 20 61 20 27 50 49 |irectly |to a 'PI|
|00000810| 43 54 27 20 66 69 6c 65 | 22 46 69 67 75 72 65 20 |CT' file|"Figure |
|00000820| 33 2d 31 09 41 6e 20 4f | 70 65 6e 20 44 6f 63 75 |3-1.An O|pen Docu|
|00000830| 6d 65 6e 74 73 20 65 76 | 65 6e 74 1b 46 69 67 75 |ments ev|ent.Figu|
|00000840| 72 65 20 33 2d 32 09 41 | 20 47 65 74 20 44 61 74 |re 3-2.A| Get Dat|
|00000850| 61 20 65 76 65 6e 74 4b | 46 69 67 75 72 65 20 33 |a eventK|Figure 3|
|00000860| 2d 33 09 4d 61 6a 6f 72 | 20 61 74 74 72 69 62 75 |-3.Major| attribu|
|00000870| 74 65 73 20 61 6e 64 20 | 64 69 72 65 63 74 20 70 |tes and |direct p|
|00000880| 61 72 61 6d 65 74 65 72 | 20 6f 66 20 61 6e 20 4f |arameter| of an O|
|00000890| 70 65 6e 20 44 6f 63 75 | 6d 65 6e 74 73 20 65 76 |pen Docu|ments ev|
|000008a0| 65 6e 74 44 46 69 67 75 | 72 65 20 33 2d 34 09 4d |entDFigu|re 3-4.M|
|000008b0| 61 6a 6f 72 20 61 74 74 | 72 69 62 75 74 65 73 20 |ajor att|ributes |
|000008c0| 61 6e 64 20 64 69 72 65 | 63 74 20 70 61 72 61 6d |and dire|ct param|
|000008d0| 65 74 65 72 20 6f 66 20 | 61 20 47 65 74 20 44 61 |eter of |a Get Da|
|000008e0| 74 61 20 65 76 65 6e 74 | 51 46 69 67 75 72 65 20 |ta event|QFigure |
|000008f0| 33 2d 35 09 41 20 64 65 | 73 63 72 69 70 74 6f 72 |3-5.A de|scriptor|
|00000900| 20 72 65 63 6f 72 64 20 | 77 68 6f 73 65 20 64 61 | record |whose da|
|00000910| 74 61 20 68 61 6e 64 6c | 65 20 72 65 66 65 72 73 |ta handl|e refers|
|00000920| 20 74 6f 20 61 6e 20 75 | 6e 74 65 72 6d 69 6e 61 | to an u|ntermina|
|00000930| 74 65 64 20 73 74 72 69 | 6e 67 4b 46 69 67 75 72 |ted stri|ngKFigur|
|00000940| 65 20 33 2d 36 09 41 20 | 64 65 73 63 72 69 70 74 |e 3-6.A |descript|
|00000950| 6f 72 20 72 65 63 6f 72 | 64 20 77 68 6f 73 65 20 |or recor|d whose |
|00000960| 64 61 74 61 20 68 61 6e | 64 6c 65 20 72 65 66 65 |data han|dle refe|
|00000970| 72 73 20 74 6f 20 65 76 | 65 6e 74 20 63 6c 61 73 |rs to ev|ent clas|
|00000980| 73 20 64 61 74 61 69 46 | 69 67 75 72 65 20 33 2d |s dataiF|igure 3-|
|00000990| 37 09 41 20 6b 65 79 77 | 6f 72 64 2d 73 70 65 63 |7.A keyw|ord-spec|
|000009a0| 69 66 69 65 64 20 64 65 | 73 63 72 69 70 74 6f 72 |ified de|scriptor|
|000009b0| 20 72 65 63 6f 72 64 20 | 66 6f 72 20 74 68 65 20 | record |for the |
|000009c0| 65 76 65 6e 74 20 63 6c | 61 73 73 20 61 74 74 72 |event cl|ass attr|
|000009d0| 69 62 75 74 65 20 6f 66 | 20 61 6e 20 4f 70 65 6e |ibute of| an Open|
|000009e0| 20 44 6f 63 75 6d 65 6e | 74 73 20 65 76 65 6e 74 | Documen|ts event|
|000009f0| 32 46 69 67 75 72 65 20 | 33 2d 38 09 41 20 64 65 |2Figure |3-8.A de|
|00000a00| 73 63 72 69 70 74 6f 72 | 20 6c 69 73 74 20 66 6f |scriptor| list fo|
|00000a10| 72 20 61 20 6c 69 73 74 | 20 6f 66 20 61 6c 69 61 |r a list| of alia|
|00000a20| 73 65 73 39 46 69 67 75 | 72 65 20 33 2d 39 09 44 |ses9Figu|re 3-9.D|
|00000a30| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 73 20 77 |ata stru|ctures w|
|00000a40| 69 74 68 69 6e 20 61 6e | 20 4f 70 65 6e 20 44 6f |ithin an| Open Do|
|00000a50| 63 75 6d 65 6e 74 73 20 | 65 76 65 6e 74 3c 46 69 |cuments |event<Fi|
|00000a60| 67 75 72 65 20 33 2d 31 | 30 09 41 63 63 65 70 74 |gure 3-1|0.Accept|
|00000a70| 69 6e 67 20 61 6e 64 20 | 70 72 6f 63 65 73 73 69 |ing and |processi|
|00000a80| 6e 67 20 61 6e 20 4f 70 | 65 6e 20 44 6f 63 75 6d |ng an Op|en Docum|
|00000a90| 65 6e 74 73 20 65 76 65 | 6e 74 53 46 69 67 75 72 |ents eve|ntSFigur|
|00000aa0| 65 20 33 2d 31 31 09 54 | 68 65 20 41 70 70 6c 65 |e 3-11.T|he Apple|
|00000ab0| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 20 63 | Event M|anager c|
|00000ac0| 61 6c 6c 69 6e 67 20 74 | 68 65 20 68 61 6e 64 6c |alling t|he handl|
|00000ad0| 65 72 20 66 6f 72 20 61 | 6e 20 4f 70 65 6e 20 44 |er for a|n Open D|
|00000ae0| 6f 63 75 6d 65 6e 74 73 | 20 65 76 65 6e 74 33 46 |ocuments| event3F|
|00000af0| 69 67 75 72 65 20 33 2d | 31 32 09 52 65 73 70 6f |igure 3-|12.Respo|
|00000b00| 6e 64 69 6e 67 20 74 6f | 20 61 6e 20 4f 70 65 6e |nding to| an Open|
|00000b10| 20 44 6f 63 75 6d 65 6e | 74 73 20 65 76 65 6e 74 | Documen|ts event|
|00000b20| 20 20 43 46 69 67 75 72 | 65 20 33 2d 31 33 09 44 | CFigur|e 3-13.D|
|00000b30| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 73 20 77 |ata stru|ctures w|
|00000b40| 69 74 68 69 6e 20 61 20 | 73 69 6d 70 6c 65 20 6f |ithin a |simple o|
|00000b50| 62 6a 65 63 74 20 73 70 | 65 63 69 66 69 65 72 20 |bject sp|ecifier |
|00000b60| 72 65 63 6f 72 64 3a 46 | 69 67 75 72 65 20 33 2d |record:F|igure 3-|
|00000b70| 31 34 09 41 6e 20 6f 62 | 6a 65 63 74 20 73 70 65 |14.An ob|ject spe|
|00000b80| 63 69 66 69 65 72 20 72 | 65 63 6f 72 64 20 69 6e |cifier r|ecord in|
|00000b90| 20 61 20 47 65 74 20 44 | 61 74 61 20 65 76 65 6e | a Get D|ata even|
|00000ba0| 74 27 46 69 67 75 72 65 | 20 33 2d 31 35 09 53 75 |t'Figure| 3-15.Su|
|00000bb0| 70 65 72 63 6c 61 73 73 | 65 73 20 61 6e 64 20 73 |perclass|es and s|
|00000bc0| 75 62 63 6c 61 73 73 65 | 73 4f 46 69 67 75 72 65 |ubclasse|sOFigure|
|00000bd0| 20 33 2d 31 36 09 54 68 | 65 20 6f 62 6a 65 63 74 | 3-16.Th|e object|
|00000be0| 20 63 6c 61 73 73 20 69 | 6e 68 65 72 69 74 61 6e | class i|nheritan|
|00000bf0| 63 65 20 68 69 65 72 61 | 72 63 68 79 20 66 6f 72 |ce hiera|rchy for|
|00000c00| 20 74 68 65 20 6f 62 6a | 65 63 74 20 63 6c 61 73 | the obj|ect clas|
|00000c10| 73 20 63 57 69 6e 64 6f | 77 67 46 69 67 75 72 65 |s cWindo|wgFigure|
|00000c20| 20 33 2d 31 37 09 41 6e | 20 41 70 70 6c 65 20 65 | 3-17.An| Apple e|
|00000c30| 76 65 6e 74 20 6f 62 6a | 65 63 74 20 6f 66 20 63 |vent obj|ect of c|
|00000c40| 6c 61 73 73 20 63 57 6f | 72 64 20 63 6f 6e 74 61 |lass cWo|rd conta|
|00000c50| 69 6e 65 64 20 69 6e 20 | 61 6e 20 41 70 70 6c 65 |ined in |an Apple|
|00000c60| 20 65 76 65 6e 74 20 6f | 62 6a 65 63 74 20 6f 66 | event o|bject of|
|00000c70| 20 63 6c 61 73 73 20 63 | 50 61 72 61 67 72 61 70 | class c|Paragrap|
|00000c80| 68 42 46 69 67 75 72 65 | 20 34 2d 31 09 41 20 64 |hBFigure| 4-1.A d|
|00000c90| 6f 63 75 6d 65 6e 74 20 | 77 69 74 68 20 61 20 62 |ocument |with a b|
|00000ca0| 75 74 74 6f 6e 20 74 68 | 61 74 20 74 72 69 67 67 |utton th|at trigg|
|00000cb0| 65 72 73 20 61 20 47 65 | 74 20 44 61 74 61 20 65 |ers a Ge|t Data e|
|00000cc0| 76 65 6e 74 5f 46 69 67 | 75 72 65 20 34 2d 32 09 |vent_Fig|ure 4-2.|
|00000cd0| 41 20 73 65 72 76 65 72 | 20 61 70 70 6c 69 63 61 |A server| applica|
|00000ce0| 74 69 6f 6e 20 64 69 73 | 70 6c 61 79 69 6e 67 20 |tion dis|playing |
|00000cf0| 61 20 64 69 61 6c 6f 67 | 20 62 6f 78 20 74 68 61 |a dialog| box tha|
|00000d00| 74 20 72 65 71 75 65 73 | 74 73 20 69 6e 66 6f 72 |t reques|ts infor|
|00000d10| 6d 61 74 69 6f 6e 20 66 | 72 6f 6d 20 74 68 65 20 |mation f|rom the |
|00000d20| 75 73 65 72 24 46 69 67 | 75 72 65 20 34 2d 33 09 |user$Fig|ure 4-3.|
|00000d30| 48 61 6e 64 6c 69 6e 67 | 20 75 73 65 72 20 69 6e |Handling| user in|
|00000d40| 74 65 72 61 63 74 69 6f | 6e 43 46 69 67 75 72 65 |teractio|nCFigure|
|00000d50| 20 34 2d 34 09 48 61 6e | 64 6c 69 6e 67 20 75 73 | 4-4.Han|dling us|
|00000d60| 65 72 20 69 6e 74 65 72 | 61 63 74 69 6f 6e 20 77 |er inter|action w|
|00000d70| 69 74 68 20 74 68 65 20 | 6b 41 45 57 61 69 74 52 |ith the |kAEWaitR|
|00000d80| 65 70 6c 79 20 66 6c 61 | 67 20 73 65 74 46 46 69 |eply fla|g setFFi|
|00000d90| 67 75 72 65 20 34 2d 35 | 09 48 61 6e 64 6c 69 6e |gure 4-5|.Handlin|
|00000da0| 67 20 75 73 65 72 20 69 | 6e 74 65 72 61 63 74 69 |g user i|nteracti|
|00000db0| 6f 6e 20 77 69 74 68 20 | 74 68 65 20 6b 41 45 51 |on with |the kAEQ|
|00000dc0| 75 65 75 65 52 65 70 6c | 79 20 66 6c 61 67 20 73 |ueueRepl|y flag s|
|00000dd0| 65 74 20 20 49 46 69 67 | 75 72 65 20 36 2d 31 09 |et IFig|ure 6-1.|
|00000de0| 52 65 73 6f 6c 76 69 6e | 67 20 61 6e 20 6f 62 6a |Resolvin|g an obj|
|00000df0| 65 63 74 20 73 70 65 63 | 69 66 69 65 72 20 72 65 |ect spec|ifier re|
|00000e00| 63 6f 72 64 20 66 6f 72 | 20 61 20 74 61 62 6c 65 |cord for| a table|
|00000e10| 20 69 6e 20 61 20 64 6f | 63 75 6d 65 6e 74 4d 46 | in a do|cumentMF|
|00000e20| 69 67 75 72 65 20 36 2d | 32 09 4e 65 73 74 65 64 |igure 6-|2.Nested|
|00000e30| 20 6f 62 6a 65 63 74 20 | 73 70 65 63 69 66 69 65 | object |specifie|
|00000e40| 72 20 72 65 63 6f 72 64 | 73 20 74 68 61 74 20 73 |r record|s that s|
|00000e50| 70 65 63 69 66 79 20 61 | 20 63 6f 6e 74 61 69 6e |pecify a| contain|
|00000e60| 65 72 20 68 69 65 72 61 | 72 63 68 79 51 46 69 67 |er hiera|rchyQFig|
|00000e70| 75 72 65 20 36 2d 33 09 | 54 68 65 20 63 6f 6e 74 |ure 6-3.|The cont|
|00000e80| 61 69 6e 65 72 20 68 69 | 65 72 61 72 63 68 79 20 |ainer hi|erarchy |
|00000e90| 66 6f 72 20 74 68 65 20 | 66 69 72 73 74 20 72 6f |for the |first ro|
|00000ea0| 77 20 69 6e 20 61 20 74 | 61 62 6c 65 20 74 68 61 |w in a t|able tha|
|00000eb0| 74 20 6d 65 65 74 73 20 | 61 20 74 65 73 74 3c 46 |t meets |a test<F|
|00000ec0| 69 67 75 72 65 20 36 2d | 34 09 41 20 6c 6f 67 69 |igure 6-|4.A logi|
|00000ed0| 63 61 6c 20 64 65 73 63 | 72 69 70 74 6f 72 20 72 |cal desc|riptor r|
|00000ee0| 65 63 6f 72 64 20 74 68 | 61 74 20 73 70 65 63 69 |ecord th|at speci|
|00000ef0| 66 69 65 73 20 61 20 74 | 65 73 74 58 46 69 67 75 |fies a t|estXFigu|
|00000f00| 72 65 20 36 2d 35 09 44 | 65 73 63 72 69 70 74 6f |re 6-5.D|escripto|
|00000f10| 72 20 72 65 63 6f 72 64 | 20 66 6f 72 20 61 6e 20 |r record| for an |
|00000f20| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2d 64 65 66 69 |applicat|ion-defi|
|00000f30| 6e 65 64 20 74 6f 6b 65 | 6e 20 74 68 61 74 20 69 |ned toke|n that i|
|00000f40| 64 65 6e 74 69 66 69 65 | 73 20 61 20 64 6f 63 75 |dentifie|s a docu|
|00000f50| 6d 65 6e 74 6e 46 69 67 | 75 72 65 20 36 2d 36 09 |mentnFig|ure 6-6.|
|00000f60| 44 65 73 63 72 69 70 74 | 6f 72 20 72 65 63 6f 72 |Descript|or recor|
|00000f70| 64 20 66 6f 72 20 61 6e | 20 61 70 70 6c 69 63 61 |d for an| applica|
|00000f80| 74 69 6f 6e 2d 64 65 66 | 69 6e 65 64 20 74 6f 6b |tion-def|ined tok|
|00000f90| 65 6e 20 74 68 61 74 20 | 69 64 65 6e 74 69 66 69 |en that |identifi|
|00000fa0| 65 73 20 74 68 65 20 70 | 62 6f 75 6e 64 73 20 70 |es the p|bounds p|
|00000fb0| 72 6f 70 65 72 74 79 20 | 6f 66 20 61 20 77 69 6e |roperty |of a win|
|00000fc0| 64 6f 77 63 46 69 67 75 | 72 65 20 36 2d 37 09 41 |dowcFigu|re 6-7.A|
|00000fd0| 20 63 6f 6e 74 61 69 6e | 65 72 20 68 69 65 72 61 | contain|er hiera|
|00000fe0| 72 63 68 79 20 63 72 65 | 61 74 65 64 20 62 79 20 |rchy cre|ated by |
|00000ff0| 74 68 65 20 41 70 70 6c | 65 20 45 76 65 6e 74 20 |the Appl|e Event |
|00001000| 4d 61 6e 61 67 65 72 20 | 75 73 69 6e 67 20 61 20 |Manager |using a |
|00001010| 77 68 6f 73 65 20 64 65 | 73 63 72 69 70 74 6f 72 |whose de|scriptor|
|00001020| 20 72 65 63 6f 72 64 3b | 46 69 67 75 72 65 20 37 | record;|Figure 7|
|00001030| 2d 31 09 41 20 73 63 72 | 69 70 74 20 77 69 6e 64 |-1.A scr|ipt wind|
|00001040| 6f 77 20 69 6e 20 74 68 | 65 20 53 63 72 69 70 74 |ow in th|e Script|
|00001050| 20 45 64 69 74 6f 72 20 | 61 70 70 6c 69 63 61 74 | Editor |applicat|
|00001060| 69 6f 6e 49 46 69 67 75 | 72 65 20 37 2d 32 09 53 |ionIFigu|re 7-2.S|
|00001070| 63 72 69 70 74 20 66 69 | 6c 65 20 69 63 6f 6e 73 |cript fi|le icons|
|00001080| 20 69 6e 20 74 68 65 20 | 46 69 6e 64 65 72 20 61 | in the |Finder a|
|00001090| 6e 64 20 63 6f 72 72 65 | 73 70 6f 6e 64 69 6e 67 |nd corre|sponding|
|000010a0| 20 75 73 65 72 20 61 63 | 74 69 6f 6e 73 3a 46 69 | user ac|tions:Fi|
|000010b0| 67 75 72 65 20 37 2d 33 | 09 48 6f 77 20 74 68 65 |gure 7-3|.How the|
|000010c0| 20 41 70 70 6c 65 53 63 | 72 69 70 74 20 63 6f 6d | AppleSc|ript com|
|000010d0| 70 6f 6e 65 6e 74 20 65 | 78 65 63 75 74 65 73 20 |ponent e|xecutes |
|000010e0| 61 20 73 63 72 69 70 74 | 50 46 69 67 75 72 65 20 |a script|PFigure |
|000010f0| 37 2d 34 09 48 6f 77 20 | 61 6e 20 61 70 70 6c 69 |7-4.How |an appli|
|00001100| 63 61 74 69 6f 6e 20 75 | 73 65 73 20 74 68 65 20 |cation u|ses the |
|00001110| 41 70 70 6c 65 53 63 72 | 69 70 74 20 63 6f 6d 70 |AppleScr|ipt comp|
|00001120| 6f 6e 65 6e 74 20 74 6f | 20 65 78 65 63 75 74 65 |onent to| execute|
|00001130| 20 61 20 73 63 72 69 70 | 74 70 46 69 67 75 72 65 | a scrip|tpFigure|
|00001140| 20 37 2d 35 09 52 6f 6c | 65 20 6f 66 20 74 68 65 | 7-5.Rol|e of the|
|00001150| 20 27 61 65 74 65 27 20 | 61 6e 64 20 27 61 65 75 | 'aete' |and 'aeu|
|00001160| 74 27 20 72 65 73 6f 75 | 72 63 65 73 20 77 68 65 |t' resou|rces whe|
|00001170| 6e 20 74 68 65 20 41 70 | 70 6c 65 53 63 72 69 70 |n the Ap|pleScrip|
|00001180| 74 20 63 6f 6d 70 6f 6e | 65 6e 74 20 63 6f 6d 70 |t compon|ent comp|
|00001190| 69 6c 65 73 20 61 6e 64 | 20 65 78 65 63 75 74 65 |iles and| execute|
|000011a0| 73 20 61 20 73 63 72 69 | 70 74 71 46 69 67 75 72 |s a scri|ptqFigur|
|000011b0| 65 20 37 2d 36 09 52 6f | 6c 65 20 6f 66 20 74 68 |e 7-6.Ro|le of th|
|000011c0| 65 20 27 61 65 74 65 27 | 20 61 6e 64 20 27 61 65 |e 'aete'| and 'ae|
|000011d0| 75 74 27 20 72 65 73 6f | 75 72 63 65 73 20 77 68 |ut' reso|urces wh|
|000011e0| 65 6e 20 74 68 65 20 41 | 70 70 6c 65 53 63 72 69 |en the A|ppleScri|
|000011f0| 70 74 20 63 6f 6d 70 6f | 6e 65 6e 74 20 72 65 63 |pt compo|nent rec|
|00001200| 6f 72 64 73 20 61 6e 64 | 20 64 65 63 6f 6d 70 69 |ords and| decompi|
|00001210| 6c 65 73 20 61 20 73 63 | 72 69 70 74 47 46 69 67 |les a sc|riptGFig|
|00001220| 75 72 65 20 37 2d 37 09 | 55 73 69 6e 67 20 61 20 |ure 7-7.|Using a |
|00001230| 68 61 6e 64 6c 65 72 20 | 69 6e 20 61 20 73 63 72 |handler |in a scr|
|00001240| 69 70 74 20 63 6f 6e 74 | 65 78 74 20 74 6f 20 68 |ipt cont|ext to h|
|00001250| 61 6e 64 6c 65 20 61 6e | 20 41 70 70 6c 65 20 65 |andle an| Apple e|
|00001260| 76 65 6e 74 34 46 69 67 | 75 72 65 20 38 2d 31 09 |vent4Fig|ure 8-1.|
|00001270| 53 74 72 75 63 74 75 72 | 65 20 6f 66 20 61 6e 20 |Structur|e of an |
|00001280| 27 61 65 75 74 27 20 6f | 72 20 27 61 65 74 65 27 |'aeut' o|r 'aete'|
|00001290| 20 72 65 73 6f 75 72 63 | 65 47 46 69 67 75 72 65 | resourc|eGFigure|
|000012a0| 20 38 2d 32 09 53 74 72 | 75 63 74 75 72 65 20 6f | 8-2.Str|ucture o|
|000012b0| 66 20 74 68 65 20 68 65 | 61 64 65 72 20 64 61 74 |f the he|ader dat|
|000012c0| 61 20 69 6e 20 61 6e 20 | 27 61 65 75 74 27 20 6f |a in an |'aeut' o|
|000012d0| 72 20 27 61 65 74 65 27 | 20 72 65 73 6f 75 72 63 |r 'aete'| resourc|
|000012e0| 65 42 46 69 67 75 72 65 | 20 38 2d 33 09 53 74 72 |eBFigure| 8-3.Str|
|000012f0| 75 63 74 75 72 65 20 6f | 66 20 73 75 69 74 65 20 |ucture o|f suite |
|00001300| 64 61 74 61 20 69 6e 20 | 61 6e 20 27 61 65 75 74 |data in |an 'aeut|
|00001310| 27 20 6f 72 20 27 61 65 | 74 65 27 20 72 65 73 6f |' or 'ae|te' reso|
|00001320| 75 72 63 65 42 46 69 67 | 75 72 65 20 38 2d 34 09 |urceBFig|ure 8-4.|
|00001330| 53 74 72 75 63 74 75 72 | 65 20 6f 66 20 65 76 65 |Structur|e of eve|
|00001340| 6e 74 20 64 61 74 61 20 | 69 6e 20 61 6e 20 27 61 |nt data |in an 'a|
|00001350| 65 75 74 27 20 6f 72 20 | 27 61 65 74 65 27 20 72 |eut' or |'aete' r|
|00001360| 65 73 6f 75 72 63 65 51 | 46 69 67 75 72 65 20 38 |esourceQ|Figure 8|
|00001370| 2d 35 09 53 74 72 75 63 | 74 75 72 65 20 6f 66 20 |-5.Struc|ture of |
|00001380| 61 64 64 69 74 69 6f 6e | 61 6c 20 70 61 72 61 6d |addition|al param|
|00001390| 65 74 65 72 20 64 61 74 | 61 20 69 6e 20 61 6e 20 |eter dat|a in an |
|000013a0| 27 61 65 75 74 27 20 6f | 72 20 27 61 65 74 65 27 |'aeut' o|r 'aete'|
|000013b0| 20 72 65 73 6f 75 72 63 | 65 4a 46 69 67 75 72 65 | resourc|eJFigure|
|000013c0| 20 38 2d 36 09 53 74 72 | 75 63 74 75 72 65 20 6f | 8-6.Str|ucture o|
|000013d0| 66 20 6f 62 6a 65 63 74 | 20 63 6c 61 73 73 20 64 |f object| class d|
|000013e0| 61 74 61 20 69 6e 20 61 | 6e 20 27 61 65 75 74 27 |ata in a|n 'aeut'|
|000013f0| 20 6f 72 20 27 61 65 74 | 65 27 20 72 65 73 6f 75 | or 'aet|e' resou|
|00001400| 72 63 65 20 45 46 69 67 | 75 72 65 20 38 2d 37 09 |rce EFig|ure 8-7.|
|00001410| 53 74 72 75 63 74 75 72 | 65 20 6f 66 20 70 72 6f |Structur|e of pro|
|00001420| 70 65 72 74 79 20 64 61 | 74 61 20 69 6e 20 61 6e |perty da|ta in an|
|00001430| 20 27 61 65 75 74 27 20 | 6f 72 20 27 61 65 74 65 | 'aeut' |or 'aete|
|00001440| 27 20 72 65 73 6f 75 72 | 63 65 4a 46 69 67 75 72 |' resour|ceJFigur|
|00001450| 65 20 38 2d 38 09 53 74 | 72 75 63 74 75 72 65 20 |e 8-8.St|ructure |
|00001460| 6f 66 20 65 6c 65 6d 65 | 6e 74 20 63 6c 61 73 73 |of eleme|nt class|
|00001470| 20 64 61 74 61 20 69 6e | 20 61 6e 20 27 61 65 75 | data in| an 'aeu|
|00001480| 74 27 20 6f 72 20 27 61 | 65 74 65 27 20 72 65 73 |t' or 'a|ete' res|
|00001490| 6f 75 72 63 65 51 46 69 | 67 75 72 65 20 38 2d 39 |ourceQFi|gure 8-9|
|000014a0| 09 53 74 72 75 63 74 75 | 72 65 20 6f 66 20 63 6f |.Structu|re of co|
|000014b0| 6d 70 61 72 69 73 6f 6e | 20 6f 70 65 72 61 74 6f |mparison| operato|
|000014c0| 72 20 64 61 74 61 20 69 | 6e 20 61 6e 20 27 61 65 |r data i|n an 'ae|
|000014d0| 75 74 27 20 6f 72 20 27 | 61 65 74 65 27 20 72 65 |ut' or '|aete' re|
|000014e0| 73 6f 75 72 63 65 20 49 | 46 69 67 75 72 65 20 38 |source I|Figure 8|
|000014f0| 2d 31 30 09 53 74 72 75 | 63 74 75 72 65 20 6f 66 |-10.Stru|cture of|
|00001500| 20 65 6e 75 6d 65 72 61 | 74 69 6f 6e 20 64 61 74 | enumera|tion dat|
|00001510| 61 20 69 6e 20 61 6e 20 | 27 61 65 75 74 27 20 6f |a in an |'aeut' o|
|00001520| 72 20 27 61 65 74 65 27 | 20 72 65 73 6f 75 72 63 |r 'aete'| resourc|
|00001530| 65 48 46 69 67 75 72 65 | 20 38 2d 31 31 09 53 74 |eHFigure| 8-11.St|
|00001540| 72 75 63 74 75 72 65 20 | 6f 66 20 65 6e 75 6d 65 |ructure |of enume|
|00001550| 72 61 74 6f 72 20 64 61 | 74 61 20 69 6e 20 61 6e |rator da|ta in an|
|00001560| 20 27 61 65 75 74 27 20 | 6f 72 20 27 61 65 74 65 | 'aeut' |or 'aete|
|00001570| 27 20 72 65 73 6f 75 72 | 63 65 2f 46 69 67 75 72 |' resour|ce/Figur|
|00001580| 65 20 31 30 2d 31 09 41 | 20 67 65 6e 65 72 69 63 |e 10-1.A| generic|
|00001590| 20 73 74 6f 72 61 67 65 | 20 64 65 73 63 72 69 70 | storage| descrip|
|000015a0| 74 6f 72 20 72 65 63 6f | 72 64 3a 46 69 67 75 72 |tor reco|rd:Figur|
|000015b0| 65 20 31 30 2d 32 09 41 | 20 63 6f 6d 70 6f 6e 65 |e 10-2.A| compone|
|000015c0| 6e 74 2d 73 70 65 63 69 | 66 69 63 20 73 74 6f 72 |nt-speci|fic stor|
|000015d0| 61 67 65 20 64 65 73 63 | 72 69 70 74 6f 72 20 72 |age desc|riptor r|
|000015e0| 65 63 6f 72 64 3a 46 69 | 67 75 72 65 20 31 31 2d |ecord:Fi|gure 11-|
|000015f0| 31 09 41 20 50 50 43 20 | 54 6f 6f 6c 62 6f 78 20 |1.A PPC |Toolbox |
|00001600| 73 65 73 73 69 6f 6e 20 | 62 65 74 77 65 65 6e 20 |session |between |
|00001610| 74 77 6f 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |two appl|ications|
|00001620| 38 46 69 67 75 72 65 20 | 31 31 2d 32 09 54 68 65 |8Figure |11-2.The|
|00001630| 20 69 63 6f 6e 20 66 6f | 72 20 74 68 65 20 53 68 | icon fo|r the Sh|
|00001640| 61 72 69 6e 67 20 53 65 | 74 75 70 20 63 6f 6e 74 |aring Se|tup cont|
|00001650| 72 6f 6c 20 70 61 6e 65 | 6c 2b 46 69 67 75 72 65 |rol pane|l+Figure|
|00001660| 20 31 31 2d 33 09 54 68 | 65 20 53 68 61 72 69 6e | 11-3.Th|e Sharin|
|00001670| 67 20 53 65 74 75 70 20 | 63 6f 6e 74 72 6f 6c 20 |g Setup |control |
|00001680| 70 61 6e 65 6c 2d 46 69 | 67 75 72 65 20 31 31 2d |panel-Fi|gure 11-|
|00001690| 34 09 54 68 65 20 73 65 | 73 73 69 6f 6e 20 74 65 |4.The se|ssion te|
|000016a0| 72 6d 69 6e 61 74 69 6f | 6e 20 61 6c 65 72 74 20 |rminatio|n alert |
|000016b0| 62 6f 78 2b 46 69 67 75 | 72 65 20 31 31 2d 35 09 |box+Figu|re 11-5.|
|000016c0| 54 68 65 20 75 73 65 72 | 73 20 61 6e 64 20 67 72 |The user|s and gr|
|000016d0| 6f 75 70 73 20 64 69 61 | 6c 6f 67 20 62 6f 78 2a |oups dia|log box*|
|000016e0| 46 69 67 75 72 65 20 31 | 31 2d 36 09 54 68 65 20 |Figure 1|1-6.The |
|000016f0| 75 73 65 72 20 74 65 72 | 6d 69 6e 61 74 69 6f 6e |user ter|mination|
|00001700| 20 61 6c 65 72 74 20 62 | 6f 78 20 46 69 67 75 72 | alert b|ox Figur|
|00001710| 65 20 31 31 2d 37 09 54 | 68 65 20 67 75 65 73 74 |e 11-7.T|he guest|
|00001720| 20 64 69 61 6c 6f 67 20 | 62 6f 78 32 46 69 67 75 | dialog |box2Figu|
|00001730| 72 65 20 31 31 2d 38 09 | 54 68 65 20 50 50 43 20 |re 11-8.|The PPC |
|00001740| 54 6f 6f 6c 62 6f 78 20 | 61 75 74 68 65 6e 74 69 |Toolbox |authenti|
|00001750| 63 61 74 69 6f 6e 20 70 | 72 6f 63 65 73 73 47 46 |cation p|rocessGF|
|00001760| 69 67 75 72 65 20 31 31 | 2d 39 09 44 61 74 61 62 |igure 11|-9.Datab|
|00001770| 61 73 65 20 61 6e 64 20 | 73 70 72 65 61 64 73 68 |ase and |spreadsh|
|00001780| 65 65 74 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |eet appl|ications|
|00001790| 20 75 73 69 6e 67 20 74 | 68 65 20 50 50 43 20 54 | using t|he PPC T|
|000017a0| 6f 6f 6c 62 6f 78 45 46 | 69 67 75 72 65 20 31 31 |oolboxEF|igure 11|
|000017b0| 2d 31 30 09 54 77 6f 20 | 4d 61 63 69 6e 74 6f 73 |-10.Two |Macintos|
|000017c0| 68 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 61 |h applic|ations a|
|000017d0| 6e 64 20 74 68 65 69 72 | 20 63 6f 72 72 65 73 70 |nd their| corresp|
|000017e0| 6f 6e 64 69 6e 67 20 70 | 6f 72 74 73 41 46 69 67 |onding p|ortsAFig|
|000017f0| 75 72 65 20 31 31 2d 31 | 31 09 54 68 65 20 50 50 |ure 11-1|1.The PP|
|00001800| 43 20 54 6f 6f 6c 62 6f | 78 20 61 6e 64 20 61 20 |C Toolbo|x and a |
|00001810| 64 69 63 74 69 6f 6e 61 | 72 79 20 73 65 72 76 69 |dictiona|ry servi|
|00001820| 63 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2b 46 |ce appli|cation+F|
|00001830| 69 67 75 72 65 20 31 31 | 2d 31 32 09 54 68 65 20 |igure 11|-12.The |
|00001840| 70 72 6f 67 72 61 6d 20 | 6c 69 6e 6b 69 6e 67 20 |program |linking |
|00001850| 64 69 61 6c 6f 67 20 62 | 6f 78 3f 46 69 67 75 72 |dialog b|ox?Figur|
|00001860| 65 20 31 31 2d 31 33 09 | 54 68 65 20 70 72 6f 67 |e 11-13.|The prog|
|00001870| 72 61 6d 20 6c 69 6e 6b | 69 6e 67 20 64 69 61 6c |ram link|ing dial|
|00001880| 6f 67 20 62 6f 78 20 77 | 69 74 68 6f 75 74 20 61 |og box w|ithout a|
|00001890| 20 7a 6f 6e 65 20 6c 69 | 73 74 29 46 69 67 75 72 | zone li|st)Figur|
|000018a0| 65 20 31 31 2d 31 34 09 | 54 68 65 20 75 73 65 72 |e 11-14.|The user|
|000018b0| 20 69 64 65 6e 74 69 74 | 79 20 64 69 61 6c 6f 67 | identit|y dialog|
|000018c0| 20 62 6f 78 2e 46 69 67 | 75 72 65 20 31 31 2d 31 | box.Fig|ure 11-1|
|000018d0| 35 09 54 68 65 20 69 6e | 63 6f 72 72 65 63 74 20 |5.The in|correct |
|000018e0| 70 61 73 73 77 6f 72 64 | 20 64 69 61 6c 6f 67 20 |password| dialog |
|000018f0| 62 6f 78 2d 46 69 67 75 | 72 65 20 31 31 2d 31 36 |box-Figu|re 11-16|
|00001900| 09 54 68 65 20 69 6e 76 | 61 6c 69 64 20 75 73 65 |.The inv|alid use|
|00001910| 72 20 6e 61 6d 65 20 64 | 69 61 6c 6f 67 20 62 6f |r name d|ialog bo|
|00001920| 78 28 46 69 67 75 72 65 | 20 31 31 2d 31 37 09 54 |x(Figure| 11-17.T|
|00001930| 72 61 6e 73 6d 69 74 74 | 69 6e 67 20 6d 65 73 73 |ransmitt|ing mess|
|00001940| 61 67 65 20 62 6c 6f 63 | 6b 73 2d 46 69 67 75 72 |age bloc|ks-Figur|
|00001950| 65 20 31 31 2d 31 38 09 | 54 68 65 20 50 50 43 20 |e 11-18.|The PPC |
|00001960| 54 6f 6f 6c 62 6f 78 20 | 70 61 72 61 6d 65 74 65 |Toolbox |paramete|
|00001970| 72 20 62 6c 6f 63 6b 73 | 28 46 69 67 75 72 65 20 |r blocks|(Figure |
|00001980| 31 32 2d 31 09 41 20 63 | 6f 6e 6e 65 63 74 69 6f |12-1.A c|onnectio|
|00001990| 6e 20 77 69 74 68 20 61 | 20 64 61 74 61 62 61 73 |n with a| databas|
|000019a0| 65 39 46 69 67 75 72 65 | 20 31 32 2d 32 09 55 73 |e9Figure| 12-2.Us|
|000019b0| 69 6e 67 20 68 69 67 68 | 2d 6c 65 76 65 6c 20 44 |ing high|-level D|
|000019c0| 61 74 61 20 41 63 63 65 | 73 73 20 4d 61 6e 61 67 |ata Acce|ss Manag|
|000019d0| 65 72 20 72 6f 75 74 69 | 6e 65 73 38 46 69 67 75 |er routi|nes8Figu|
|000019e0| 72 65 20 31 32 2d 33 09 | 55 73 69 6e 67 20 6c 6f |re 12-3.|Using lo|
|000019f0| 77 2d 6c 65 76 65 6c 20 | 44 61 74 61 20 41 63 63 |w-level |Data Acc|
|00001a00| 65 73 73 20 4d 61 6e 61 | 67 65 72 20 72 6f 75 74 |ess Mana|ger rout|
|00001a10| 69 6e 65 73 43 46 69 67 | 75 72 65 20 31 32 2d 34 |inesCFig|ure 12-4|
|00001a20| 09 41 20 66 6c 6f 77 63 | 68 61 72 74 20 6f 66 20 |.A flowc|hart of |
|00001a30| 61 20 73 65 73 73 69 6f | 6e 20 75 73 69 6e 67 20 |a sessio|n using |
|00001a40| 74 68 65 20 68 69 67 68 | 2d 6c 65 76 65 6c 20 69 |the high|-level i|
|00001a50| 6e 74 65 72 66 61 63 65 | 42 46 69 67 75 72 65 20 |nterface|BFigure |
|00001a60| 31 32 2d 35 09 41 20 66 | 6c 6f 77 63 68 61 72 74 |12-5.A f|lowchart|
|00001a70| 20 6f 66 20 61 20 73 65 | 73 73 69 6f 6e 20 75 73 | of a se|ssion us|
|00001a80| 69 6e 67 20 74 68 65 20 | 6c 6f 77 2d 6c 65 76 65 |ing the |low-leve|
|00001a90| 6c 20 69 6e 74 65 72 66 | 61 63 65 27 46 69 67 75 |l interf|ace'Figu|
|00001aa0| 72 65 20 31 32 2d 36 09 | 41 20 71 75 65 72 79 20 |re 12-6.|A query |
|00001ab0| 64 6f 63 75 6d 65 6e 74 | 20 64 69 61 6c 6f 67 20 |document| dialog |
|00001ac0| 62 6f 78 57 46 69 67 75 | 72 65 20 31 32 2d 37 09 |boxWFigu|re 12-7.|
|00001ad0| 54 68 65 20 72 65 6c 61 | 74 69 6f 6e 73 68 69 70 |The rela|tionship|
|00001ae0| 20 62 65 74 77 65 65 6e | 20 72 65 73 6f 75 72 63 | between| resourc|
|00001af0| 65 73 20 69 6e 20 61 20 | 71 75 65 72 79 20 64 6f |es in a |query do|
|00001b00| 63 75 6d 65 6e 74 20 61 | 6e 64 20 74 68 65 20 71 |cument a|nd the q|
|00001b10| 75 65 72 79 20 72 65 63 | 6f 72 64 4c 46 69 67 75 |uery rec|ordLFigu|
|00001b20| 72 65 20 31 32 2d 38 09 | 54 68 65 20 72 65 6c 61 |re 12-8.|The rela|
|00001b30| 74 69 6f 6e 73 68 69 70 | 20 62 65 74 77 65 65 6e |tionship| between|
|00001b40| 20 61 20 71 75 65 72 79 | 20 64 65 66 69 6e 69 74 | a query| definit|
|00001b50| 69 6f 6e 20 66 75 6e 63 | 74 69 6f 6e 20 61 6e 64 |ion func|tion and|
|00001b60| 20 71 75 65 72 69 65 73 | 3b 46 69 67 75 72 65 20 | queries|;Figure |
|00001b70| 31 32 2d 39 09 53 74 72 | 75 63 74 75 72 65 20 6f |12-9.Str|ucture o|
|00001b80| 66 20 61 20 63 6f 6d 70 | 69 6c 65 64 20 71 75 65 |f a comp|iled que|
|00001b90| 72 79 20 28 27 71 72 73 | 63 27 29 20 72 65 73 6f |ry ('qrs|c') reso|
|00001ba0| 75 72 63 65 43 46 69 67 | 75 72 65 20 31 32 2d 31 |urceCFig|ure 12-1|
|00001bb0| 30 09 53 74 72 75 63 74 | 75 72 65 20 6f 66 20 61 |0.Struct|ure of a|
|00001bc0| 20 63 6f 6d 70 69 6c 65 | 64 20 71 75 65 72 79 20 | compile|d query |
|00001bd0| 73 74 72 69 6e 67 20 28 | 27 77 73 74 72 27 29 20 |string (|'wstr') |
|00001be0| 72 65 73 6f 75 72 63 65 | |resource| |
+--------+-------------------------+-------------------------+--------+--------+